package com.jdrx.ocp.beans.constans;

import org.springframework.web.client.UnknownHttpStatusCodeException;

/**
 * @ClassName:EMessageKeyEnum
 * @Description:消息枚举类
 * @author: yangfang
 * @date: 2017/1/6 14:49
 */
public enum EMessageKeyEnum {
	//业务异常提示信息
	system_user_not_delete("system_user_not_delete","该用户为系统内置用户，不能被删除"),
	save_success("save_success","保存成功"),
	update_success("update_success","更新成功"),
	update_fail("update_fail","更新失败"),
	delete_success("delete_success","删除成功"),
	user_error("user_error","用户异常，稍后重试"),
	user_name_not_exist("user_name_not_exist","用户名不存在"),
	user_already_delete("user_already_delete","该用户已被删除，请联系管理员"),
	user_not_exist("user_not_exist","用户名或密码错误"),
	user_disable("user_disable","账号已被冻结"),
	browser_uniqueId_not_null("browser_uniqueId_not_null","必须传递浏览器标识"),

	;

	public String key;
	public String value;

	EMessageKeyEnum(String key, String value) {
		this.key = key;
		this.value = value;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
